home *** CD-ROM | disk | FTP | other *** search
/ Steal This CD / steal_this_cd.iso / Chapter 20 - Adware and Spyware / spywareguardsetup.exe / install_script.iss
Text File  |  2005-12-31  |  5KB  |  95 lines

  1. ;InnoSetupVersion=2.0.18
  2.  
  3. [Setup]
  4. AppName=SpywareGuard
  5. AppVerName=SpywareGuard v2.2
  6. AppId=SpywareGuard
  7. AppVersion=2.2
  8. AppPublisher=Javacool Software LLC
  9. AppPublisherURL=http://www.wilderssecurity.net/
  10. AppMutex=SpywareGuardMU
  11. DefaultDirName={pf}\SpywareGuard
  12. DefaultGroupName=SpywareGuard
  13. OutputBaseFilename=setup
  14. Compression=bzip2
  15. DisableProgramGroupPage=yes
  16. LicenseFile=embedded\License.txt
  17. InfoBeforeFile=embedded\InfoBefore.txt
  18. InfoAfterFile=embedded\InfoAfter.txt
  19. WizardImageFile=embedded\WizardImage0.bmp
  20. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  21.  
  22. [Files]
  23. Source: "{app}\sgmain.exe"; DestDir: "{app}"; Components: main; Flags: restartreplace 
  24. Source: "{app}\sgbhp.exe"; DestDir: "{app}"; Components: main; Flags: restartreplace 
  25. Source: "{app}\sgliveupdate.exe"; DestDir: "{app}"; Components: main; 
  26. Source: "{app}\def1.dtb"; DestDir: "{app}"; Components: main; 
  27. Source: "{app}\def2.dtb"; DestDir: "{app}"; Components: main; 
  28. Source: "{app}\dlbdata1.dtb"; DestDir: "{app}"; Components: main; 
  29. Source: "{app}\dlbdata2.dtb"; DestDir: "{app}"; Components: main; 
  30. Source: "{app}\readme.txt"; DestDir: "{app}"; Components: main; 
  31. Source: "{app}\license.txt"; DestDir: "{app}"; Components: main; 
  32. Source: "{app}\spywareguard.dll"; DestDir: "{app}"; Components: main; Flags: restartreplace regserver overwritereadonly 
  33. Source: "{app}\dlprotect.dll"; DestDir: "{app}"; Components: main; Flags: restartreplace regserver overwritereadonly 
  34. Source: "{sys}\MSINET.OCX"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall regserver sharedfile 
  35. Source: "{sys}\shellextlib.tlb"; DestDir: "{sys}"; Components: main; Flags: restartreplace regtypelib 
  36. Source: "{sys}\vbshell.tlb"; DestDir: "{sys}"; Components: main; Flags: restartreplace regtypelib 
  37. Source: "{sys}\RICHTX32.OCX"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall regserver sharedfile 
  38. Source: "{app}\sghelp.chm"; DestDir: "{app}"; Components: main; 
  39. Source: "{sys}\stdole2.tlb"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall restartreplace regtypelib sharedfile 
  40. Source: "{sys}\msvbvm60.dll"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  41. Source: "{sys}\oleaut32.dll"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  42. Source: "{sys}\olepro32.dll"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  43. Source: "{sys}\asycfilt.dll"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall restartreplace sharedfile 
  44. Source: "{sys}\comcat.dll"; DestDir: "{sys}"; Components: vb; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  45.  
  46. [Registry]
  47. Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"; ValueName: "{{81559C35-8464-49F7-BB0E-07A383BEF910}"; ValueType: String; Flags: uninsdeletevalue 
  48. Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks"; ValueName: "{{81559C35-8464-49F7-BB0E-07A383BEF910}"; ValueType: String; Flags: uninsdeletevalue 
  49. Root: HKLM; Subkey: "Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{{4A368E80-174F-4872-96B5-0B27DDD11DB2}"; ValueType: String; ValueData: "SpywareGuard Download Protection"; Flags: uninsdeletekey 
  50. Root: HKLM; Subkey: "Software\SpywareGuard"; Flags: uninsdeletekey dontcreatekey 
  51.  
  52. [Run]
  53. Filename: "{app}\sgmain.exe"; Description: "Start SpywareGuard"; Flags: postinstall nowait
  54.  
  55. [Icons]
  56. Name: "{group}\SpywareGuard"; Filename: "{app}\sgmain.exe"; 
  57. Name: "{group}\SpywareGuard LiveUpdate"; Filename: "{app}\sgliveupdate.exe"; 
  58. Name: "{userstartup}\SpywareGuard"; Filename: "{app}\sgmain.exe"; 
  59. Name: "{userdesktop}\SpywareGuard"; Filename: "{app}\sgmain.exe"; Tasks: iconondesktop; 
  60. Name: "{userdesktop}\SpywareGuard LiveUpdate"; Filename: "{app}\sgliveupdate.exe"; Tasks: updateiconondesktop; 
  61.  
  62. [Tasks]
  63. Name: "iconondesktop"; Description: "Put a shortcut to SpywareGuard on the Desktop"; GroupDescription: "Shorcut Options:"; Components: "main"; 
  64. Name: "updateiconondesktop"; Description: "Put a shortcut to SpywareGuard LiveUpdate on the Desktop"; GroupDescription: "Shorcut Options:"; Components: "main"; 
  65.  
  66. [Components]
  67. Name: "main"; Description: "Main Application"; Types: "full compact custom"; 
  68. Name: "vb"; Description: "Support Files"; Types: "full compact custom"; 
  69.  
  70. [InstallDelete]
  71. Type: files; Name: "{app}\spywareguardcp.exe"; 
  72. Type: files; Name: "{app}\sgcontrolpanel.exe"; 
  73. Type: files; Name: "{app}\sgmain.exe"; 
  74. Type: files; Name: "{app}\sgliveupdate.exe"; 
  75. Type: files; Name: "{app}\def1.dtb"; 
  76. Type: files; Name: "{app}\def2.dtb"; 
  77. Type: files; Name: "{app}\dlbdata1.dtb"; 
  78. Type: files; Name: "{app}\dlbdata2.dtb"; 
  79. Type: files; Name: "{app}\readme.txt"; 
  80. Type: files; Name: "{app}\license.txt"; 
  81. Type: files; Name: "{app}\spywareguard.dll"; 
  82. Type: files; Name: "{app}\dlprotect.dll"; 
  83. Type: files; Name: "{app}\sgbhp.exe"; 
  84. Type: files; Name: "{app}\sghelp.chm"; 
  85. Type: files; Name: "{app}\config.ini"; 
  86.  
  87. [UninstallDelete]
  88. Type: files; Name: "{app}\config.ini"; 
  89. Type: files; Name: "{app}\spywareguardversion.txt"; 
  90.  
  91. [Types]
  92. Name: "full"; Description: "Full installation"; 
  93. Name: "compact"; Description: "Compact installation"; 
  94. Name: "custom"; Description: "Custom installation"; 
  95.